/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package network;

import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.net.Socket;

/**
 *
 * @author Mark
 */
public class LANChatClient extends Thread   
    {
    //Data Members
    private Socket sckt;
    private BufferedReader input;
    private PrintWriter output;
    private String name;
    public LANChatClient(Socket s, String clientName) throws IOException
        {
        super();
        if (s == null)
            throw new NullPointerException();
        sckt = s;
        input = new BufferedReader(new InputStreamReader(sckt.getInputStream()));
        output = new PrintWriter(new BufferedWriter
                (new OutputStreamWriter(sckt.getOutputStream())), true);
        
        start();
        }
    @Override
    public void run()
        {
        
        }
    }
    
